package com.hzmg.vertxweb;

import com.hzmg.web.common.ResultDTO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/t")
@Slf4j
public class TestController {
    @GetMapping("/test")
    public ResultDTO<String> test() {
        log.info("test");
        return ResultDTO.success("hello");
    }
}
